<?php
	
/* 
	--------------------------------------------------------------
	gm_opensearch_conf.php 01.04.2008 pt
	Gambio OHG
	http://www.gambio.de
	Copyright (c) 2008 Gambio OHG
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
	--------------------------------------------------------------
*/

	defined('_VALID_XTC') or die('Direct Access to this location is not allowed.');
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
	<tr>
		<td valign="top" align="left" class="main">
			<strong><?php echo GM_TITLE_OPENSEARCH_CONF; ?></strong>
		</td>
		<td valign="top" align="right" class="main">
			<?php 
				echo gm_get_lang_link('gm_opensearch.php', 'gm_opensearch_conf', '');
			?>
		</td>
	</tr>
</table>
<br />
<form method="post" action="<?php echo xtc_href_link('gm_opensearch.php', 'action=' . $_GET['action'] . '&lang_id=' . $lang_id); ?>">
	<table border="0" cellspacing="0" cellpadding="2" id="gm_table">
		<tr>
			<td width="250" valign="top"  class="main">
				<?php echo GM_TITLE_OPENSEARCH_TEXT; ?>
			</td>
			<td class="main">
				<input style="width:300px" type="text" value="<?php echo gm_get_content('GM_OPENSEARCH_TEXT', $lang_id); ?>" name="GM_OPENSEARCH_TEXT">
			</td>
		</tr>
		<tr>
			<td width="250" valign="top"  class="main">
				<?php echo GM_TITLE_OPENSEARCH_LINK; ?>
			</td>
			<td class="main">
				<input style="width:300px" type="text" value="<?php echo gm_get_content('GM_OPENSEARCH_LINK', $lang_id); ?>" name="GM_OPENSEARCH_LINK">
			</td>
		</tr>
		<tr>
			<td width="250" valign="top" class="main">
				<?php echo GM_TITLE_OPENSEARCH_SHORTNAME; ?>
			</td>
			<td class="main"  style="border-right: 0px;">
				<input maxlength="16" style="width:300px" type="text" value="<?php echo gm_get_content('GM_OPENSEARCH_SHORTNAME', $lang_id); ?>" name="GM_OPENSEARCH_SHORTNAME">
			</td>
		</tr>
		<tr>
			<td width="250" valign="top" class="main">
				<?php echo GM_TITLE_OPENSEARCH_LONGNAME; ?>
			</td>
			<td class="main">
				<input maxlength="48" style="width:300px" type="text" value="<?php echo gm_get_content('GM_OPENSEARCH_LONGNAME', $lang_id); ?>" name="GM_OPENSEARCH_LONGNAME">
			</td>
		</tr>
		<tr>
			<td width="250" valign="top" class="main">
				<?php echo GM_TITLE_OPENSEARCH_TAGS; ?>
			</td>
			<td class="main">
				<input maxlength="256" style="width:300px" type="text" value="<?php echo gm_get_content('GM_OPENSEARCH_TAGS', $lang_id); ?>" name="GM_OPENSEARCH_TAGS">
			</td>
		</tr>
		<tr>
			<td width="250" valign="top" class="main">
				<?php echo GM_TITLE_OPENSEARCH_CONTACT; ?>
			</td>
			<td class="main">
				<input style="width:300px" type="text" value="<?php echo gm_get_content('GM_OPENSEARCH_CONTACT', $lang_id); ?>" name="GM_OPENSEARCH_CONTACT">
			</td>
		</tr>
		<tr>
			<td width="250" valign="top" class="main">
				<?php echo GM_TITLE_OPENSEARCH_DESCRIPTION; ?>
			</td>
			<td class="main">
				<textarea style="width:300px" rows="3" name="GM_OPENSEARCH_DESCRIPTION"><?php echo gm_get_content('GM_OPENSEARCH_DESCRIPTION', $lang_id); ?></textarea>
			</td>
		</tr>
		<tr>
			<td valign="middle" align="left" class="main" colspan="2">				
				<input type="hidden" name="gm_lang" value="<?php echo $lang_id; ?>">																									 
				<input class="button" type="submit" name="go_save" value="<?php echo BUTTON_SAVE;?>">																									 
			</td>
		</tr>
	</table>
</form>